﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Create.aspx.cs" Inherits="CustomerContactSystem.WebForms.Enquiries.Documents.Create" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h1>Enquiry: <asp:hyperlink ID="EnquiryIdCaption" runat="server"></asp:hyperlink></h1>
<h2>Add Document</h2>

<fieldset>
    <legend>Document Details</legend>
    
    <asp:Label ID="DocumentFileCaption" runat="server" Text="File:" AssociatedControlID="DocumentFile"></asp:Label>
    <asp:FileUpload ID="DocumentFile" runat="server" />

    <asp:Label ID="DocumentNameCaption" runat="server" Text="Name:" AssociatedControlID="DocumentName"></asp:Label>
    <asp:TextBox ID="DocumentName" runat="server"></asp:TextBox>
    
    <asp:Label ID="DocumentDescriptionCaption" runat="server" Text="Description:" AssociatedControlID="DocumentDescription"></asp:Label>
    <asp:TextBox ID="DocumentDescription" runat="server" TextMode="MultiLine" Rows="7"></asp:TextBox>

    <asp:Label ID="NotifySubmitterCaption" runat="server" Text="Notify Submitter?:" AssociatedControlID="NotifySubmitter"></asp:Label>
    <asp:CheckBox ID="NotifySubmitter" runat="server" />
    
    <asp:Label ID="OtherUsersCaption" runat="server" Text="Notify Other User?:" AssociatedControlID="OtherUsers"></asp:Label>
    <asp:DropDownList ID="OtherUsers" runat="server"></asp:DropDownList>
    
    <asp:Button ID="SubmitDocument" runat="server" Text="Add Document" CssClass="submit" OnClick="SubmitDocumentClick" />
    <asp:Label ID="SubmitDocumentResultMessage" runat="server" CssClass="error"></asp:Label>
</fieldset>
</asp:Content>
